package com.xbongbong.pro.statistic.help.strategy.field;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.statistic.pojo.FieldAnalysisPojo;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author zhouwq
 * @date 2020/9/7 16:57
 */
public interface FieldAnalysisStrategy {

    /**
     * 图表字段解析抽象方法
     * @param fieldAnalysisPojo 入参
     * @return 结果集
     * @throws XbbException error
     * @author zhouwq
     * @date 2020/9/8 15:08
     */
    Map<String, String> doAnalysisField(FieldAnalysisPojo fieldAnalysisPojo) throws XbbException;
}
